package cn.tedu.tmall.admin.mall.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
//@TableName("mall_category")
public class Category implements Serializable {

    private static final long serialVersionUID = 1798554430890756986L;
    //@TableId(type = IdType.AUTO)
    private Long id;

    private String name;
    private Long parentId;
    private Integer depth;
    private String keywords;
    private Integer sort;
    private String icon;
    private Integer enable;
    private Integer isParent;
    private Integer isDisplay;

   // @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    //@TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

}
